#coding:utf8
from rest_framework.pagination import PageNumberPagination

class StandardResultsSetPagination(PageNumberPagination):
    #每页显示
    page_size = 2
    #名称
    page_size_query_param = 'page_size'
    #一共多少页
    max_page_size = 20